#log {
  width: 541px;
  height: 315px;
  margin: 0 auto;
}
#log div:nth-child(1) {
  font-size: 20px;
}
#log div:nth-child(2) {
  font-size: 14px;
}
.msg {
  margin-left: 110px;
  margin-top: -45px;
}
.form {
  width: 400px;
  height: 285px;
  border: 1px solid #000;
  background: #f5f6f7;
  margin-left: -105px;
}
.lg {
  width: 305px;
  height: 30px;
  margin-left: 30px;
  margin-top: 20px;
  font-weight: bold;
  border-bottom: 1px solid #cfcfcf;
}
.form p {
  margin-left: 70px;
  font-size: 12px;
  font-weight: bold;
  margin-top: 16px;
}
.forgrt a {
  font-size: 14px;
  margin-left: 160px;
}
.remember {
  position: relative;
  top: 16px;
  left: 160px;
  font-size: 12px;
  font-weight: bold;
}

.underline {
  width: 305px;
  border: 1px solid #cfcfcf;
  margin-left: 33px;
  margin-top: 47px;
}
.buttons {
  margin-top: 20px;
  margin-left: 293px;
}
.buttons button {
  width: 45px;
  background: #d0d0d0;
  border: 0;
  border-radius: 5px;
  color: #ffffff;
  text-align: center;
  line-height: 27px;
  cursor: pointer;
}

.logRight {
  width: 400px;
  height: 285px;
  border: 1px solid #000;
  background: #f5f6f7;
  margin-top: -288px;
  margin-left: 307px;
}
.form2 div:nth-child(2) {
  font-size: 12px;
  font-weight: bold;
  margin-top: 30px;
}
.form2 div:nth-child(3) {
  font-size: 12px;
}
.form2 div:nth-child(2),
.form2 div:nth-child(3) {
  margin-left: 30px;
}
.form2 .buttons button {
  width: 80px;
  margin-left: -32px;
}
.error {
  color: red;
}
